schoolsLand = folium.Map([38.318364, -92.412253], tiles='CartoDB Positron', zoom_start=6.5)

# generate choropleth map 
choropleth = folium.Choropleth(
    geo_data=districts,
    data=districts,
    columns=['NAME', 'SqMilesPerSchool'],
    key_on='feature.properties.NAME',
    fill_color='Reds', 
    fill_opacity=1, 
    line_opacity=1,
    legend_name='Square miles per school',
    highlight=True,
    smooth_factor=0).add_to(schoolsLand)

# add labels for school district and miles per school.
style_function = "font-size: 15px; font-weight: bold"
choropleth.geojson.add_child(
    folium.features.GeoJsonTooltip(['NAME', 'SqMilesPerSchool', 'SchoolsPerDist'], style=style_function, labels=False))

# create a layer control
folium.LayerControl().add_to(schoolsLand)
<folium.map.LayerControl at 0x124f3b250>
schoolsLand
Make this Notebook Trusted to load map: File -> Trust Notebook